package com.bo.wei.chen.mybatis.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.bo.wei.chen.mybatis.model.Student;
/**
 * @author DELL
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/student")
    public String student() {
        Student student = Student.builder()
            .name("测试")
            .build();
        return student.getName();
    }
}
